package com.heatingcharge.service.sys;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.heatingcharge.dto.SysRoleDTO;
import com.heatingcharge.entity.sys.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.heatingcharge.param.SysRoleParam;

import java.util.List;

/**
 * <p>
 * 角色  服务类
 * </p>
 *
 * @author devin.jiang
 * @since 2019-06-27
 */
public interface ISysRoleService extends IService<SysRole> {

    List<SysRole> getRoleList(SysRole sysRole);

    boolean save(SysRoleParam sysRoleParam);
    boolean update(SysRoleParam sysRoleParam);

    IPage<SysRole> getSysRoles(Page page, SysRoleDTO sysRoleDTO);
}
